home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-08-20 | 2.4 KB | 107 lines | [TEXT/MPS ] |
- #
- #### Warning: only the MetroWerks target has been tested.
- #
- # (<CMD>/B: LoadDriverTest)
- #
- # Definitions
- # PCICIncludes -> PCI header files (in Userstartup•PCI)
- # PCILibraries -> PCI system libraries (in Userstartup•PCI)
- #
- Src = ":Src:"
- Obj = ":Obj:"
- {Obj} ƒ {Src}
- #
- # PCICIncludes Defined by UserStartup•PCI in System Preferences
- # PCILibraries Defined by UserStartup•PCI in System Preferences
- #
- SymOpt = ON
- PPCCOpt = off
-
- #
- # Headers is slightly overkill, as it will rebuild the library even
- # if only the display routine changes.
- #
- Headers = ∂
- {Src}AppleEventCore.h ∂
- {Src}LoadDriverTest.h
-
- #
- Objects = ∂
- {Obj}AppleEventCore.c.po ∂
- {Obj}LoadDriverTest.c.po
-
- #
- # Compiler dependencies -- common to all compilations The idea here
- # is that all sources are stored in a {...Src} subdirectory, and all
- # objects and code resources output by the linker are stored in the
- # {Obj} subdirectory.
- #
-
- .c.po ƒ .c ∂
- {Headers}
- PPCC -sym on -appleext on -w ∂
- -d MPW ∂
- -d ISPPC=1 ∂
- -i "{PCICIncludes}" ∂
- -o "{TargDir}"{Default}.c.po ∂
- {DepDir}{Default}.c
-
- #* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- #* Build LoadDriverTest
- #*
- "LoadDriverTest MPW" ƒƒ ∂
- MetroWerks ∂
- MakeFile ∂
- {Headers} ∂
- {Objects}
- PPCLink ∂
- {Objects} ∂
- "{PCILibraries}"DriverLoaderLib ∂
- "{PPCLibraries}"InterfaceLib.xcoff ∂
- "{PPCLibraries}"PPCCRuntime.o ∂
- -main main ∂
- -o "{Obj}"{targ}".xcoff"
- MakePEF ∂
- -l InterfaceLib.xcoff=InterfaceLib ∂
- -l DriverLoaderLib.xcoff=DriverLoaderLib ∂
- -ft APPL ∂
- -o "{targ}" ∂
- "{Obj}"{targ}".xcoff"
-
- "LoadDriverTest MPW" ƒƒ ∂
- MakeFile ∂
- {Headers} ∂
- {Src}LoadDriverTest.r
- Rez ∂
- -d "MPW=1" ∂
- -d "ISPPC=1" ∂
- -append ∂
- -t APPL ∂
- -i "{CIncludes}" ∂
- -i "{RIncludes}" ∂
- {Src}LoadDriverTest.r ∂
- -o "{targ}"
-
-
- #* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- #*
- #* Build the MetroWerks resources
- #*
- MetroWerks ƒ ∂
- "LoadDriverTest.Δ.rsrc"
- echo "MetroWerks resources created"
-
- "LoadDriverTest.Δ.rsrc" ƒ ∂
- MakeFile ∂
- {Headers} ∂
- {Src}LoadDriverTest.r
- Rez ∂
- {Src}LoadDriverTest.r ∂
- -d "ISPPC=1" ∂
- -d "MPW=1" ∂
- -t rsrc ∂
- -c RSED ∂
- -i "{CIncludes}" ∂
- -i "{RIncludes}" ∂
- -o {targ}
-